package com.bdzl.biz.service.impl;

import com.bdzl.biz.dao.OrderVehDao;
import com.bdzl.biz.service.OrderVehService;
import com.bdzl.pub.entity.loan.OrderVehDO;
import com.bdzl.pub.vo.loan.OrderVehVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;





@Service
public class OrderVehServiceImpl implements OrderVehService {
	@Autowired
	private OrderVehDao orderVehDao;
	
	@Override
	public OrderVehDO get(String vehId){
		return orderVehDao.get(vehId);
	}

	@Override
	public OrderVehDO getByVehOdr(String vehOdr) {
		return orderVehDao.getByVehOdr(vehOdr);
	}

	@Override
	public List<OrderVehDO> list(Map<String, Object> map){
		return orderVehDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return orderVehDao.count(map);
	}
	
	@Override
	public int save(OrderVehDO orderVeh){
		return orderVehDao.save(orderVeh);
	}
	
	@Override
	public int update(OrderVehDO orderVeh){
		return orderVehDao.update(orderVeh);
	}
	
	@Override
	public int remove(String vehId){
		return orderVehDao.remove(vehId);
	}
	
	@Override
	public int batchRemove(String[] vehIds){
		return orderVehDao.batchRemove(vehIds);
	}

	@Override
	public List<OrderVehVO> listAndUser(Map<String, Object> map) {
		return orderVehDao.listAndUser(map);
	}
}
